package com.buba.customer.service;

import com.buba.customer.pojo.CustomerLevelInf;

import java.util.List;


/**
 * 会员级别业务接口
 */
public interface CustomerLevelInfService {
    /**
     * 根据会员积分查询会员级别
     * @param userPoint 会员积分
     * @return 该会员级别对象
     */
    CustomerLevelInf selCustomerLevelInfByUserPoint(Integer userPoint);

    List<CustomerLevelInf> selCustomerLevelInf();

    void delCustomerLevelInf();

    Integer addCustomerLevelInf(List<CustomerLevelInf> list);
}
